<nav class="navbar navbar-expand-md navbar-light bg-primary">
    <a class="navbar-brand" href="/">
        <img src="img/logo2.png" height="30" class="d-inline-block align-top" alt="logo">
      </a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarTogglerDemo01">
      <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
        <li class="nav-item active">
            <a href="/" class="nav-link">Home</a>
        </li>
        <li class="nav-item">
            <a href="/article/category/新闻?language=en" class="nav-link">News</a>
        </li>
        <li class="nav-item">
            <a href="/securityInformationSrd/index?language=en" class="nav-link">Safety Information Report</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="/partnershipauthorities/index?language=en">CAAC MOU Partner Authorities</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="/policiesregulations/index?language=en">Regulations & Policies</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="/airworthiness/index?language=en">Airworthiness Directives</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="/servicebulletins/index?language=en">Service Bulletins</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="/article/category/主要问题及处理?language=en">Typical Problems & Solutions</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="/article/category/维修服务?language=en">Maintenance Services</a>
        </li>
        <li class="nav-item">
            <a href="/interactList/index?language=en" class="nav-link">Message Board</a>
        </li>
        <li class="nav-item">
            <a href="/index_ch" class="nav-link">简体中文</a>
        </li>
      </ul>
      <form action="/article/category/新闻?language=en" name="addForm1" onsubmit="return CheckPostHead();" method="post">
        <input type="text" id="keyword" name="keyword" placeholder="Keyword">
        <button type="submit"><i class="fa fa-search" aria-hidden="true"></i></button>
    </form>
    </div>
  </nav>
<nav class="nav nav-masthead justify-content-center">
    #for(menu : MENUS)
        <a class="nav-link #(menu.isActive ? 'active' : '')" href="#(menu.url ??)?language=en">#(menu.text.split(',')[1] ??)</a>
    #end
</nav>